home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q103 / 8 / 65.TXT < prev    next >
Text File  |  1993-10-07  |  4KB  |  111 lines

  1. DOCUMENT:Q103865  06-OCT-1993  [W_NT]
  2. TITLE   :Load And Run Values with Third-Party Shell Programs
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------------
  14.  
  15. WARNING: Using Registry Editor incorrectly can cause serious, system-wide 
  16.          problems that may require you to reinstall Windows NT to correct 
  17.          them. Microsoft cannot guarantee that any problems resulting from 
  18.          the use of Registry Editor can be solved. Use this tool at your 
  19.          own risk.
  20.  
  21. SUMMARY
  22. =======
  23.  
  24. When a shell other than Program Manager (PROGMAN.EXE) is being used,
  25. the run and load entries in the registry might be ignored.
  26.  
  27. MORE INFORMATION
  28. ================
  29.  
  30. A common way to run or load applications at startup in Windows 3.x is
  31. to add the filename to the load= or run= line in the WIN.INI file.
  32. Windows NT translates these entries to the following registry key and
  33. values:
  34.  
  35. HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
  36.   load: REG_SZ
  37.   run: REG_SZ
  38.  
  39. They operate exactly the same as in Windows 3.0 and 3.1 as long as
  40. Program Manager is used as the shell; however, if a replacement for
  41. Program Manager is specified in
  42.  
  43.    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT
  44.    \CurrentVersion\Winlogon - Shell 
  45.  
  46. any programs set to load automatically (through the load value, run
  47. value, or the Startup group) when Windows NT is started, it will not
  48. load unless the third-party shell is written to search for such
  49. values.
  50.  
  51. Steps to Reproduce Problem
  52. --------------------------
  53.  
  54.  1. Start Registry Editor, REGEDT32.EXE.
  55.  
  56.  2. Select HKEY_CURRENT_USER\Software\Microsoft\Windows NT
  57.     \CurrentVersion\Windows.
  58.  
  59.  3. In the Value window, double-click Load to open String Editor.
  60.  
  61.  4. Type the following and then press ENTER:
  62.  
  63.        clock 
  64.  
  65.     Choose OK.
  66.  
  67.  5. Quit Registry Editor and log off from Windows NT.
  68.  
  69.  6. Log on as the same user and notice that Clock appears in the
  70.     lower-left corner.
  71.  
  72.  7. Start Registry Editor again.
  73.  
  74.  8  Select HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\
  75.     CurrentVersion\Winlogon.
  76.  
  77.  9. In the Value window, double-click Shell to open String Editor.
  78.  
  79. 10. Type the following and then press ENTER:
  80.  
  81.        winfile,taskman,wowexec
  82.  
  83.     Choose OK.
  84.  
  85. 11. Quit Registry Editor and log off from Windows NT.
  86.  
  87. Logon as the same user and notice that File Manager comes up as the
  88. shell, but Clock does not appear.
  89.  
  90. To return the system to its previous state, repeat steps 1-4 and 8-11,
  91. removing "clock" on step 4 and entering "progman,wowexec" in step 10.
  92.  
  93. Additional reference words: 3.10 third party 3rdparty
  94. KBCategory:
  95. KBSubCategory: 16ap 32ap winnt
  96.  
  97. =============================================================================
  98.  
  99. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  100. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  101. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  102. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  103. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  104. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  105. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  106. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  107. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  108. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  109. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  110.  
  111. Copyright Microsoft Corporation 1993.